/*
 */
package org.vectrics.company;

import java.util.Date;

import org.vectrics.common.db.Voidable;

/**
 * @author mmoore
 */
public class CompanyAddressType implements Voidable {
	public static String MAIL_ADDRESS_TYPE = "mail";
	public static String PHYSICAL_ADDRESS_TYPE = "phys";
	
    private String code = null;
    private String description = null;
    private Date dateStart = null;
    private Date dateEnd = null;
    private boolean voided = false;
    private boolean exclusive = true;
    
    
    /**
     * @return Returns the code.
     */
    public String getCode() {
        return code;
    }
    /**
     * @param code The code to set.
     */
    public void setCode(String code) {
        this.code = code;
    }
    /**
     * @return Returns the description.
     */
    public String getDescription() {
        return description;
    }
    /**
     * @param description The description to set.
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
    
	/**
	 * @return Returns the dateEnd.
	 */
	public Date getDateEnd() {
		return dateEnd;
	}
	/**
	 * @param dateEnd The dateEnd to set.
	 */
	public void setDateEnd(Date dateEnd) {
		this.dateEnd = dateEnd;
	}
	/**
	 * @return Returns the dateStart.
	 */
	public Date getDateStart() {
		return dateStart;
	}
	/**
	 * @param dateStart The dateStart to set.
	 */
	public void setDateStart(Date dateStart) {
		this.dateStart = dateStart;
	}
	/**
	 * @return Returns the exclusive.
	 */
	public boolean getExclusive() {
		return exclusive;
	}
	/**
	 * @param exclusive The exclusive to set.
	 */
	public void setExclusive(boolean exclusive) {
		this.exclusive = exclusive;
	}
	
	
    /**
     * @return Returns the voided.
     */
    public boolean getVoided() {
        return voided;
    }
    /**
     * @param voided The voided to set.
     */
    public void setVoided(boolean voided) {
        this.voided = voided;
    }
}
